import sys
import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'

import yaml
from os.path import dirname, abspath

ppfolder = dirname(dirname(abspath(__file__)))
if(ppfolder not in sys.path):
    sys.path.insert(0, ppfolder)

from data import FashionMNIST_DatasetTrain_UnitTest_01, FashionMNIST_DatasetTest_UnitTest_02

if __name__=='__main__':
    # 测试FashionMNIST数据集dataloader的图片加载
    FashionMnistFolder = os.path.join(r"D:\deepdotdev\deepdot-vision\datasets\FashionMNIST\raw")
    FashionMNIST_DatasetTrain_UnitTest_01(FashionMnistFolder)
    FashionMNIST_DatasetTest_UnitTest_02(FashionMnistFolder)
